<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!--头部-->
<header class="header">
    <div class="logo"><a href="${basePath }"><img src="${basePath }/image/dh_bt.png" alt="天津市军民科技协同创新平台"></a></div>
    <ul class="navigation">
        <li class="navigationItem <c:if test="${empty type or type eq 'index'}">active ${type}</c:if>">
        	<a href="${basePath }">首页</a>
        </li>
        <li class="navigationItem <c:if test="${type eq 'platform'}">active ${type}</c:if>">
        	<a href="${basePath }/platform">平台动态</a>
        </li>
        <li class="navigationItem <c:if test="${type eq 'news'}">active ${type}</c:if>">
        	<a href="${basePath }/news">信息发布</a>
        </li>
        <li class="navigationItem <c:if test="${type eq 'authority'}">active ${type}</c:if>">
        	<a href="${basePath }/authority">权威解读</a>
        </li>
        <li class="navigationItem changeSwipe <c:if test="${type eq 'push'}">active ${type}</c:if>">
        	项目推送
        </li>
        <li class="navigationItem <c:if test="${type eq 'personalCenter'}">active ${type}</c:if>">
        	<a href="${basePath }/sendAtri?pageNum=1&onlyCollection=true">项目征集</a>
        </li>
    </ul>
    
	<c:choose>
          	<c:when test="${empty otherLoginUser}">
          		<div class="login">
			    	<a href="${basePath }/otherLogin">登录</a>
			    </div>
          	</c:when>
		<c:otherwise>
			<div class="login">
		    	<a href="${basePath }/personalCenter">个人中心</a>
		        <div class="logout">
					<ul>
						<li><a href="${basePath }/userlogout">注销</a></li>
					</ul>
				</div>
		    </div>
		</c:otherwise>
	</c:choose>
</header>